{literal}
    <script type="text/javascript">
        function verifierCondition(){
            if ($('#cond_gen').is(':checked')) return true;
            else {
                $('#error').html('Vous devez accepter les conditions générales de ventes pour continuer !!');
                $('#cond_gen').focus();
                return false;  
            }
        }
    </script>
    <style type="text/css">
        .paiement-type {list-style:none; float:left; display:inline; margin:3px;}
    </style>
{/literal}
<!-- Saisie du num d'immatriculation et de la date de mise en circulation -->
{literal}
	<style>
    	#essai_fiche .chapitre p, td{font-size:12px;}
    </style>
{/literal}
<div id="global" class="search">
  {$oZoneHeader}
   <div id="main">
   <div id="ajout_annonce">
   		<div class="file_ariane2">
        	<ul>
            	<li><a class="a1">1. Détails de la voiture</a></li>
                <li><a href="#" class="a2">2. Choix formule</a></li>
                <li><a href="#" class="a2 active">3. Paiement</a></li>
            </ul>
        </div>
        <div id="leftContent3">
              {if $formules->titre =='La féerique'}
                <div id="la_feerique">
                    <h4>{$formules->titre}</h4>
                    {foreach $toOptions as $iKeyOption => $oOption}
                           {if $oOption->lib_option_formule =='Parution'}
                               {foreach $oOption->toChoises as $iKey => $oChoise}
                                    {if substr($formules->options, $iKeyOption, 1) == $iKey}
                                    <span class="parution">{$oChoise->formch_libelle|escxml} </span>
                                    {/if}
                               {/foreach}
                            {/if}
                        {/foreach}
                        <span class="prix">{$formules->prix} €</span>
                        <div class="center">
                            <span class="s1">+</span>
                            {foreach $toOptions as $iKeyOption => $oOption}
                               {if $oOption->lib_option_formule =='Photo'}
                                 {foreach $oOption->toChoises as $iKey => $oChoise}
                                       {if substr($formules->options, $iKeyOption, 1) == $iKey}
                                       <span class="s2">{$oChoise->formch_libelle|escxml}</span>
                                   {/if}
                                  {/foreach}
                               {/if}
                            {/foreach}
                            <span class="s3">+</span>
                            <span class="s4">Multi-diffusion<br />sur 11 sites auto</span>
                             <span class="s5">2.800.000<br />internautes!</span>
                            <span class="s6">+ 4 photos sur le web</span>
                        </div>
                       {foreach $toOptions as $iKeyOption => $oOption}
                           {if $oOption->lib_option_formule =='Durée'}
                             {foreach $oOption->toChoises as $iKey => $oChoise}
                                {if substr($formules->options, $iKeyOption, 1) == $iKey}
                                    <a class="btn5" href="#">{$oChoise->formch_libelle|escxml}</a>
                                {/if}
                             {/foreach}
                           {/if}
                     {/foreach}
               </div><!--end la_feerique-->
            {/if}

            {if $formules->titre =='La dynamique'}
                <div id="la_dynamique">
                    <h4>{$formules->titre}</h4>
                    {foreach $toOptions as $iKeyOption => $oOption}
                           {if $oOption->lib_option_formule =='Parution'}
                               {foreach $oOption->toChoises as $iKey => $oChoise}
                                    {if substr($formules->options, $iKeyOption, 1) == $iKey}
                                    <span class="parution">{$oChoise->formch_libelle|escxml} </span>
                                    {/if}
                               {/foreach}
                            {/if}
                    {/foreach}
                    <span class="prix">{$formules->prix} €</span>
                     <div class="center">
                        <span class="s3">+</span>
                        <span class="s4">Multi-diffusion<br />sur 11 sites auto</span>
                        <span class="s5">2.800.000<br />internautes!</span>
                        <span class="s6">+ 4 photos sur le web</span>
                     </div>
                     {foreach $toOptions as $iKeyOption => $oOption}
                           {if $oOption->lib_option_formule =='Durée'}
                             {foreach $oOption->toChoises as $iKey => $oChoise}
                                {if substr($formules->options, $iKeyOption, 1) == $iKey}
                                    <a class="btn5" href="#">{$oChoise->formch_libelle|escxml}</a>
                                {/if}
                             {/foreach}
                           {/if}
                    {/foreach}
                </div>
            {/if}

            {if $formules->titre =='La basique'}
               <div id="la_basique">
                    <h4>{$formules->titre}</h4>
                     {foreach $toOptions as $iKeyOption => $oOption}
                           {if $oOption->lib_option_formule =='Parution'}
                               {foreach $oOption->toChoises as $iKey => $oChoise}
                                    {if substr($formules->options, $iKeyOption, 1) == $iKey}
                                    <span class="parution">{$oChoise->formch_libelle|escxml} </span>
                                    {/if}
                               {/foreach}
                            {/if}
                     {/foreach}
                    <span class="prix">{$formules->prix} €</span>
              </div>
            {/if}
        </div><!--end leftContent3-->
        <form action="" method="post">
            <div id="formule3">
                <div class="wrap">
                    <h2>Methode de paiement</h2>
                    <div class="wrap2">
                         <div style="margin:-15px -49px;">
                            <ul>
                                <li class="paiement-type">
                                    <INPUT TYPE = hidden NAME = PBX_MODE VALUE = '1'>
                                    <INPUT TYPE = hidden NAME = PBX_SITE VALUE = '0765493'>
                                    <INPUT TYPE = hidden NAME = PBX_RANG VALUE = '01'>
                                    <INPUT TYPE = hidden NAME = PBX_IDENTIFIANT VALUE = '507127633'>
                                    <INPUT TYPE = hidden NAME = PBX_TOTAL VALUE ="{$montant}">
                                    <INPUT TYPE = hidden NAME = PBX_DEVISE VALUE = '978'>
                                    <INPUT TYPE = hidden NAME = PBX_CMD VALUE = "{$nombre_cmd}">
                                    <INPUT TYPE = hidden NAME = PBX_PORTEUR VALUE ="{$vendeur}">
                                    <INPUT TYPE = hidden NAME = PBX_RETOUR VALUE = 'montant:M;ref:R;auto:A;trans:T'>
                                    <INPUT TYPE = hidden NAME = PBX_EFFECTUE VALUE = "{$pathmerci}">
                                    <INPUT TYPE = hidden NAME = PBX_REFUSE VALUE = "{$pathregret}">
                                    <INPUT TYPE = hidden NAME = PBX_ANNULE VALUE = "{$pathregret}">
                                    <INPUT TYPE = hidden NAME = "tarif"  VALUE = '{$tarif}'>
                                    <INPUT TYPE="image" src="{$j_basepath}design/front/images/cb.jpg" name="bouton_paiement"  />
                                </li>
                                <li class="paiement-type"><a class="a2" href="#"><img src="{$j_basepath}design/front/images/visa.jpg"></a></li>
                                <li class="paiement-type"><a class="a3" href="#"><img src="{$j_basepath}design/front/images/paipal.jpg"></a></li>
                                <li class="paiement-type"><a class="a4" href="#"><img src="{$j_basepath}design/front/images/tel.jpg"></a></li>
                            </ul>
                        </div>
                        <div class="infos">
                            <p>Et quia Mesopotamiae tractus omnes crebro inquietari sueti praetenturis et stationibus servabantur agrariis, laevorsum flexo itinere Osdroenae subsederat extimas partes, novum parumque aliquando temptatum commentum adgressus. quod si impetrasset, fulminis modo cuncta vastarat. erat autem quod cogitabat huius modi.</p>
                        </div>
                    </div>
                </div>
            </div>
            <!--end formule2-->
            <div class="navig_btn" style="position:relative; left:-81px; top:15px;">
                <a class="a1" href="{jurl 'annonce~FoAnnonceDeposer:choixFormule', array('idOccasion'=>$idOccasion), false}"><img alt="Rétour" src="{$j_basepath}design/front/images/btn_retour.png" title="Rétour" /></a>
            </div>
        </form>
      
	<div class="clear">&nbsp;</div>
   </div>
   <!--end ajout annonce-->
    <div class="clear">&nbsp;</div>
  </div>
  <div id="SideBar"><a href="#global"><img alt="" src="{$j_basepath}design/front/images/top.png" title="" /></a></div>
</div>
{$oZoneFooter}